package com.car.serve.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.car.serve.Param.PageServeShouHouParam;
import com.car.serve.Param.PageStoresShouHouParam;
import com.car.serve.Param.addServeShouHouParam;
import com.car.serve.entity.ServeShouhou;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 董旭
 * @since 2024-08-28
 */
public interface ServeShouhouService extends IService<ServeShouhou> {

    void addServeShouHou(addServeShouHouParam param)throws Exception;

    Page<ServeShouhou> findBuyIdShouHou(PageServeShouHouParam param)throws Exception;

    void finishShouhou(Integer shouHouId)throws Exception;

    void CancelShouhou(Integer shouHouId)throws Exception;

    Page<ServeShouhou> getOrderInfoPage(PageStoresShouHouParam param)throws Exception;

}
